<?php
/**
 * Created by PhpStorm
 * User: 龍zero
 * Date: 2022-04-15
 * Time: 15:44
 */

namespace App\Service;



use App\Lib\File\FileUploader;
use Hyperf\Di\Annotation\Inject;



class FileService
{
    /**
     * @Inject()
     * @var FileUploader
     */
    private $uploader;

    public function upload($file){
        return  $this->uploader->upload($file);
    }
}